<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>pciutils</Name>
        <Homepage>http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>Various utilities dealing with the PCI bus</Summary>
        <Description>The PCI Utilities are a collection of programs for inspecting and manipulating configuration of PCI devices.</Description>
        <Archive sha1sum="29d9a75ce2a2d92721b6e92c7c89236b4c91041f" type="tarxz">ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-3.5.2.tar.xz</Archive>
        <AdditionalFiles>
            <!-- 20100714
                 from: http://pciids.sourceforge.net/v2.2/pci.ids
                 -->
            <AdditionalFile target="pci.ids">pci.ids</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>eudev-devel</Dependency>
            <Dependency>libkmod-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!-- Disable gz support of pciids file -->
            <Patch level="1">pciutils-nogz.patch</Patch>

            <!-- Remove update-pciids support -->
            <Patch level="1">pciutils-remove-update-pciids.patch</Patch>
            <Patch level="1">makefile.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>pciutils</Name>
        <RuntimeDependencies>
            <Dependency>zlib</Dependency>
            <Dependency>eudev</Dependency>
            <Dependency>libkmod</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share/misc</Path>
        </Files>
    </Package>

    <Package>
        <Name>pciutils-devel</Name>
        <PartOf>system.devel</PartOf>
        <Summary>Development files for pciutils</Summary>
        <RuntimeDependencies>
            <Dependency release="current">pciutils</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="header">/usr/include</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-01-29</Date>
            <Version>3.5.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>3.4.1</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-03</Date>
            <Version>3.4.1</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
